<template>
  <div v-html="value" />
</template>
<script>
export default {
  name: "VeHtml",
  props: {
    value: {
      type: String,
      default: "",
    },
  },
  computed: {
    html() {
      return this.value.replace(/<|>/g, (s) => encodeURIComponent(s));
    },
  },
};
</script>
